COLL TUNED: Use per-rank data size instead of total size for decision in allgatherv#8209
Merged
jsquyres merged 1 commit intoopen-mpi:masterfrom Nov 17, 2020
Merged
Conversation
The total size depends on number of ranks so the usual ranges don't work. Thus, use the average across all ranks to make a decision. Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
Contributor
Author
|
@rajachan Can you give this branch a try to see if the numbers get better on your side? I have made some minor tweaks based on the data I get on our system. However, it appears that the switching points shift based on the number of ranks per node (with constant number of total ranks). I have observed that for other algorithms as well. I think we need to revisit the tuning approach to perhaps include more topology information (this effect may (have) become more prominent with rising core counts...) |
Member
They do. A tad bit :) This is a rather small job with 96 ranks (data on right with your PR): |
rajachan
approved these changes
Nov 16, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The total size depends on number of ranks so the usual ranges don't work.
Thus, use the average across all ranks to make a decision.
Signed-off-by: Joseph Schuchart schuchart@icl.utk.edu